import request from '@/utils/request'

export function list(type) {
  return request({
    url: '/ss/sys/eduxcloudNavigation/list',
    method: 'get',
    params: {type}
  })
}

export function add(data) {
  return request({
    url: '/ss/sys/eduxcloudNavigation/add',
    method: 'post',
    data: data
  })
}

export function update(data) {
  return request({
    url: '/ss/sys/eduxcloudNavigation/update',
    method: 'post',
    data: data
  })
}


export function deleteNavigation(id) {
  return request({
    url: '/ss/sys/eduxcloudNavigation/delete',
    method: 'get',
    params: {id}
  })
}
